﻿using System;

namespace SSTestAPI
{
    public abstract class Plant
    {
        protected string branch;
        protected int lifetime;
        
        public string Branch
        {
            get { return branch; }
            set { branch = value; }
        }
        public abstract int getLifetime();

        protected Plant()
        {
            branch = null;
            lifetime = 0;
        }

        protected Plant(string b, int l)
        {
            branch = b;
            lifetime = l;
        }
    }
}
